package com.easy.dfc.mapper;


import com.easy.core.persistence.annotation.MyBatisMapper;
import com.easy.dfc.entity.ProductReply;

import java.util.List;

@MyBatisMapper
public interface ProductReplyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductReply record);

    int insertSelective(ProductReply record);

    ProductReply selectByPrimaryKey(Integer id);

    List<ProductReply> selectByProductId(String productId, int start);

    int updateByPrimaryKeySelective(ProductReply record);

    int updateByPrimaryKeyWithBLOBs(ProductReply record);

    int updateByPrimaryKey(ProductReply record);

    float selectAvg(String productId);
}